package com.mall.book.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.book.entity.po.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Dizziness on 2022/3/22 9:23
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    List<UserInfo> selectStaffs(@Param("identity") Integer userIdentity);

    int allowLogin(@Param("id") String deleted_user);

    UserInfo selectByIdEvenDeleted(@Param("account") String user_accound);
}
